
<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">订单详情</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<input type="hidden" name="order_id" value="<?php echo $_GET['point_orderid']?>">
<!--订单编号、状态、时间S-->
<div class="radius-big bg-white padding margin height">
    <div class="height">订单编号：<span><?php echo $output['order_info']['point_ordersn']; ?></span></div>
    <div class="height">订单状态：<span class="text-ef7f7e"><?php echo $output['order_info']['state_info']; ?></span></div>
    <div class="height">下单时间：<span><?php echo date("Y-m-d H:i:s",$output['order_info']['point_addtime']); ?></span></div>
    <!--买家确认收货-->
    <?php if ($output['order_info']['point_orderstate'] == 30) { ?>
    <div class="height">
        <a class="border-none bg-red text-white layout padding radius-big " style="text-align: center;" href="javascript:void(0);" onclick="if(confirm('确认收到兑换礼品吗？')){window.location.href='index.php?act=member_order&op=receiving_order&order_id=<?php echo $output['order_info']['point_orderid']; ?>'}">确认收货</a>
    </div>
    <?php } ?>
    <!--取消订单/付款-->
    <?php if ($output['order_info']['point_orderstate'] == 20) { ?>
    <div class="height">
        <a class="border-none bg-red text-white layout padding radius-big " style="text-align: center;"  href="javascript:void(0);" onclick="if(confirm('确认取消兑换信息？')){window.location.href='index.php?act=member_order&op=cancel_order&order_id=<?php echo $output['order_info']['point_orderid']; ?>'}">取消兑换</a>
    </div>
    <?php } ?>
</div>
<!--订单编号、状态、时间E-->
<!--商品列表S-->
<div class="bg-white  margin padding radius-big">
    <div class="margin-bottom">商品列表</div>
    <!--商品S-->
    <ul class="sale-tab border border-red-light radius padding-small">
        <?php
        if(is_array($output['order_goods_list']) and !empty($output['order_goods_list'])) {
        foreach($output['order_goods_list'] as $val) {
        ?>
        <li class="sale-tab-list">
            <a href="javascript:;" class="clearfix">
                <span class="goods-img float-left"><img src="<?php echo SiteUrl.DS.$val['point_goodsimage'];?>" onload="javascript:DrawImage(this,90,90);" alt="" class="good-img"></span>
                <span class="goods-name margin-bottom text-small margin-small-left"><?php echo $val['point_goodsname']; ?></span>
                <span class="text-red"><i class="goods-price"><?php echo $val['point_goodspoints']; ?></i> x <i class="salesNum"><?php echo $val['point_goodsnum']; ?></i></span>
            </a>
        </li>
        <?php }?>
        <?php }?>
    </ul>
    <!--商品E-->
</div>
<!--商品列表E-->
<div class="bg-white  margin padding radius-big" >兑换总积分<span class="float-right"><?php echo $output['order_info']['point_allpoint']; ?></span></div>
<!--物流信息S-->
<div class="seller bg-white  margin padding radius-big">
    <div class="margin-bottom">物流信息</div>
    <ul class="border border-red-light radius-big padding-small ">
        <li>物流单号<span class="float-right"><?php echo $output['order_info']['point_shippingcode']; ?></span></li>
        <li>收货人<span class="float-right"><?php echo $output['order_info']['point_truename']; ?></span></li>
        <li>电话号码<span class="float-right"><?php echo $output['order_info']['point_telphone']; ?></span></li>
        <li>手机号码<span class="float-right"><?php echo $output['order_info']['point_mobphone']; ?></span></li>
        <li>收货地址<span class="float-right"><?php echo $output['order_info']['point_areainfo']; ?><?php echo $output['order_info']['point_address']; ?></span></li>
    </ul>
</div>
<!--物流信息E-->